Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't upload to api #115

Merged

Conversation

bzarboni1
Copy link
Contributor

ISSUE

#114

The newly added Step Security Harden Runner jobs jobs are failing when attempting to sign/upload artifacts:

Generating ephemeral keys...
Retrieving signed certificate...

        Note that there may be personally identifiable information associated with this signed artifact.
        This may include the email address associated with the account with which you authenticate.
        This information will be used for signing this artifact and will be stored in public transparency logs and cannot be removed later.
2024/07/04 13:12:30 error signing scorecard json results: error signing payload: getting key from Fulcio: verifying SCT: updating local metadata and targets: error updating to TUF remote mirror: invalid key
remote status:{
	"mirror": "https://sigstore-tuf-root.storage.googleapis.com/",
	"metadata": {
		"root.json": {
			"version": 9,
			"len": 6766,
			"expiration": "12 Sep 24 06:53 UTC",
			"error": ""
		},
		"snapshot.json": {
			"version": 147,
			"len": 2302,
			"expiration": "23 Jul 24 16:06 UTC",
			"error": ""
		},
		"targets.json": {
			"version": 9,
			"len": 5478,
			"expiration": "12 Sep 24 06:13 UTC",
			"error": ""
		},
		"timestamp.json": {
			"version": 199,
			"len": 723,
			"expiration": "09 Jul 24 16:06 UTC",
			"error": ""
		}
	}
}

ANALYSIS

It appears that this issue is occurring on the step that is uploading the results to the Step Security API. This will be disabled.


@bzarboni1 bzarboni1 requested a review from TylerMizuyabu July 4, 2024 13:52
@bzarboni1 bzarboni1 self-assigned this Jul 4, 2024
@bzarboni1 bzarboni1 merged commit 85095a2 into main Jul 4, 2024
1 check passed
@bzarboni1 bzarboni1 deleted the 114-bug-the-step-security-jobs-are-failing-on-upload branch July 4, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants